package com.android.dwt.fragment;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.android.dwt.R;

public class EmptyFrag extends Fragment {
	
	private static final String TAG = "EmptyFrag";
	
	public static EmptyFrag newInstance() {
		
		EmptyFrag frag = new EmptyFrag();
		
		return frag;
	}
	
	@Override
	public void onAttach(Activity activity) {
		
		Log.e(TAG, "onAttach is called! ");
		
		super.onAttach(activity);
	}
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		
		Log.e(TAG, "onCreate is called! ");
		
		super.onCreate(savedInstanceState);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		
		Log.e(TAG, "onCreateView is called");
		
//		return super.onCreateView(inflater, container, savedInstanceState);
		
		View view = inflater.inflate(R.layout.empty, container, false);
		
		return view;
	}
	
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		
		super.onActivityCreated(savedInstanceState);
	}
	
	@Override
	public void onDestroyView() {
		
		Log.e(TAG, "onDestroyView is called!");
		
		super.onDestroyView();
	}
	
	@Override
	public void onDestroy() {
		
		Log.e(TAG, "onDestroy is called!");
		
		super.onDestroy();
	}
	
}
